import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

/*-----------污水检测-----------*/
const serviceName = '/sjsk-detection-service'
const sjskSewageData = (params) => postAction(`${serviceName}/sewageGroovy/sjskSewageData`, params)
const sewageListDetailResult = (params) => postAction(`${serviceName}/sewageGroovy/sewageListDetailResult/${params}`)
const addSewage = (params) => postAction(`${serviceName}/sewageDetect/addSewage`, params)
const sewageListExportXls = (params) => downFile(`${serviceName}/sewageDetect/sewageListExportXls`, params, 'post')

export { sjskSewageData, sewageListDetailResult, addSewage, sewageListExportXls }
